home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Vyzkuste
/
xsetup
/
_SETUP.2
/
Group3
/
XQ WinNT AutoLogin NW Settings.xpl
< prev
next >
Wrap
Text File
|
1999-08-29
|
1KB
|
51 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="1"
"COUNT"="2"
"UIPATH"="Network\Login\Auto Login (NetWare)"
"NAME"="Settings"
"VERSION"="1.00"
"LANGUAGE"="VBScript"
"TEXT 1"="User name"
"TEXT 2"="Password"
"DESCRIPTION 1"="Auto login can be used to eliminate the "Press Ctrl+Alt+Del to login" screen."
"DESCRIPTION 2"="Enter your users information here."
"DESCRIPTION 3"="When you are finished, apply your changes and select the "General" plug-in to activate auto logon."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
sRP="HKLM\SOFTWARE\NOVELL\NWGINA\Login\"
Sub Plugin_Initialize
if RegPathExists(sRP) then
s=RegReadValue(srp&"DefaultNetWareUserName")
SetUIElement 1,s
s=RegReadValue(srp&"DefaultNetWarePassword")
SetUIElement 2,s
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
Call RegWriteValue(srp&"DefaultNetWareUserName",s,1)
s=GetUIElement(2)
Call RegWriteValue(srp&"DefaultNetWarePassword",s,1)
Call Logoff()
End Sub
Sub Plugin_Terminate
End Sub